import React from 'react'
import Guangchang from './guangchang'
import Dongtai from './dongtai'
import { HashRouter as Router, Route, Switch } from 'react-router-dom'
import Top from './meun'
import SearchBar from './search'

class YunCun extends React.Component {
    render() {
        return (
            <Router>
                <Switch>
                    <Route path='/guangchang' component={Guangchang} />
                    <Route path='/' component={Dongtai}/>
                    <Route path='/dongtai' component={Dongtai} />
                </Switch>
            </Router>
        )
    }
}

export default YunCun